Optimize TCP/IP connections to reduce the TIME-WAIT command (1) the status and number of TCP/IP connections: # netstat-an | awk '/^ tcp/{++ s [$ NF]} END {for (a in s) print a, s [a]}' (2) improve server load capabilities: # vim/etc/sysctl. conf and
TCP Three handshake (connection established) and four waves (close connection)
Reference:
Http://course.ccniit.com/CSTD/Linux/reference/files/018.PDF
http://hi.baidu.com/raycomer/item/944d23d9b502d13be3108f61
To establish a
Principle of TCP/IP reliability Sliding Window congestion window and TCP Window
TCP and UDP are on the same layer-transport layer, but the most difference between TCP and UDP is that TCP provides a reliable data transmission service, which is
Modify Linux kernel parameters to reduce the TCP connection TIME-WAIT sockets tcp status: LISTEN: listening from the remote TCP port connection request SYN-SENT: Re-Send the connection request and WAIT for the matching connection request
Kernel: TCP: Time wait bucket table overflow error Solution
The following error is reported in the message log:
Feb 27 10:53:36 web kernel: _ ratelimit: 5 callbacks suppressed
Feb 27 10:53:36 web kernel: TCP: Time wait bucket table OverflowFeb 27 10:
Three-time handshake (three times handshake;three-way handshake) so-called "three-time handshake" that is, the amount of data sent each time is how to track the data segment sent and received synchronization, based on the amount of data received and
TCP has a TIME-WAIT Status, which usually takes 2 minutes. On A busy website, there are often thousands of access requests within two minutes. Assume that server A is twice as powerful as server B, but server A has thousands of access requests ~
Document directory
1. Establish a connection
2. End the connection.
3. Maximum packet length
4. TCP status migration Diagram
5. rst. both open and close
6. TCP Server Design
1. Interactive Data Stream of TCP
2. TCP block data streams
[Author: Zhang banquet this article version: V1.0 last modified: 2007.07.24 reprint please indicate the source: http://blog.s135.com]
Since the launch of a new set of Apache servers, I used the netstat-An command to find a large number of TCP
TCP State Machine
TCP operations can be represented by a finite state machine with 11 States. Figure 3-12 describes the finite state machine of TCP, And the rounded rectangle in the figure shows the State, arrows indicate the transition between
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.